﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using yncTech.BusinessObjects;

public partial class Admin_NoSAPFin_NoSAPFin002p : AdminBasePage
{
    string[] boxIds;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request.QueryString["boxids"] != null)
        {
            boxIds = Request.QueryString["boxids"].TrimEnd(',').Split(',');
        }
        else
        {
            boxIds = new string[] { Request.QueryString[VBoxLabelInfoMetadata.ColumnNames.BoxID] };
        }
        if (!IsPostBack)
        {
            VBoxLabelInfoCollection boxLabels = new VBoxLabelInfoCollection();
            boxLabels.Query.Where(boxLabels.Query.BoxID.In(boxIds));
            boxLabels.Query.Load();


            rptLabel.DataSource = boxLabels;
            rptLabel.DataBind();

        }
    }
}